#! /bin/sh

pgrep -x sxhkd > /dev/null || sxhkd &

#bspc monitor -d I II III IV V VI VII VIkI IX X
#bspc monitor DP3 -d 1 2 3 4 5 6 7 8 9 
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 
#bspc monitor eDP1 -d 0



#autostart
$HOME/.config/polybar/launch.sh &
$HOME/Code/scripts/autostart/autostart.sh &
xmodmap ~/.xmodmap

bspc config border_width         2
bspc config window_gap          12


xautolock -time 10 -locker 'i3lock -i $HOME/Pictures/Background/nord-arch.png' -corners ---- -cornersize 30 &

#xsetroot -cursor_name left_ptr

# \#RRGGBB ,F即为最大
bspc config normal_border_color \#2E3032
bspc config focused_border_color \#6B6880
bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Google-chrome desktop='^3'
bspc rule -a chrome desktop='^2'
bspc rule -a vlc desktop='0' state=floating 
bspc rule -a netease-cloud-music desktop='4' state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
bspc rule -a Nitrogen state=floating focus=on
bspc rule -a feh state=floating focus=on
#gtk 主题更换工具
bspc rule -a Lxappearance state=floating
bspc rule -a Xfce4-about state=floating
## drop terminal
##bspc rule -a dropdown sticky=on state=floating hidden=on
##st --class dropdown -e "zsh -i" &
#bspc rule -a scratchpad          sticky=on state=floating








